<?php
/*
 * File Visitor.php for project Rijlesplanner.nl
 * Created on 25 nov 2007 at 16:46:27 by Ivar Pruijn
 */

class Visitor extends User {
  
	// Properties:
	public $usertype = 0;
	private $acl = array(
			"home"=>array(),
			"authentication"=>array(),
			"content"=>array(
				"options"=>array("overrijlesplanner","simulatorlessen","voorrijscholen","sitemap"),
				"actions"=>array()
			),
			"ookrijlessenmet"=>array(
				"options"=>array("ookrijlessenmet"),
				"actions"=>array("ookrijlessenmet")
			),
			"tellafriend" => array (
				"options" => array(
					"tellafriend"
				),
				"actions" => array(
					"sendtellafriend" 
				)
			),
			"reviews"=>array(
				"options" => array (
					"berichten"
				),
				"actions" => array (
				)
			),
			"persoonlijk"=>array(
				"options"=>array(),
				"actions"=>array()
			),
			"statistics"=>array(),
			"theorie"=>array(
				"options"=>array(),
				"actions"=>array()
			),
			"praktijk"=>array(
				"options"=>array(),
				"actions"=>array()
			),
			"blog" => array (
				"options" => array(),
				"actions" => array()
			)
		);

	// Methods:

	/**
	 * void __construct ()
	 * This is the constructor method for the Visitor class.
	 */
	public function __construct() {
   	}
   	
   	public function Visitor(array $atts=NULL) {
		$this->ConstructFromArray($atts);
	}
	
	public function getUserType() {
	  return $this->usertype;
	}

/*
	public function getACL() {
		return $this->acl;
	}
	
	public function setACL($newVal = array()) {
		$this->acl = $newVal;
	}
*/

   	public function __toString() {
        return "Visitor";
    }

}

?>
